package Data;

import java.io.Serializable;
import java.sql.Date;

public class PrivateInformationData implements Serializable {
    private static final long serialVersionUID = 5442710183388828792L;
    private byte[] avatar;
    private String suffix_name;
    private String userNickName;
    private String sex;
    private Date birth;
    private String saying;
    private String password;
    private String userid;
    private String emailNumber;
    private int isonline;

    public int getIsonline() {
        return isonline;
    }

    public void setIsonline(int isonline) {
        this.isonline = isonline;
    }

    private int isfriend;

    private String captcha;

    public int getIsfriend() {
        return isfriend;
    }

    public void setIsfriend(int isfriend) {
        this.isfriend = isfriend;
    }

    public PrivateInformationData()
    {

    }

    public PrivateInformationData(byte[] avatar, String userNickName, String sex, Date birth, String saying, String password, String userid, String emailNumber, int isfriend, String captcha) {
        this.avatar = avatar;
        this.userNickName = userNickName;
        this.sex = sex;
        this.birth = birth;
        this.saying = saying;
        this.password = password;
        this.userid = userid;
        this.emailNumber = emailNumber;
        this.isfriend = isfriend;
        this.captcha = captcha;
    }

    public PrivateInformationData(byte[] avatar, String userNickName, String sex, Date birth, String saying, String password, String userid, String emailNumber, String captcha) {
        this.avatar = avatar;
        this.userNickName = userNickName;
        this.sex = sex;
        this.birth = birth;
        this.saying = saying;
        this.password = password;
        this.userid = userid;
        this.emailNumber = emailNumber;
        this.captcha = captcha;
    }

    public String getSuffix_name() {
        return suffix_name;
    }

    public void setSuffix_name(String suffix_name) {
        this.suffix_name = suffix_name;
    }

    public byte[] getAvatar() {
        return avatar;
    }

    public void setAvatar(byte[] avatar) {
        this.avatar = avatar;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getSaying() {
        return saying;
    }

    public void setSaying(String saying) {
        this.saying = saying;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getEmailNumber() {
        return emailNumber;
    }

    public void setEmailNumber(String emailNumber) {
        this.emailNumber = emailNumber;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
}
